package com.hjqjl.whdemo.feature.feature0.ui.activity.theme;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import com.hjqjl.whdemo.base.BaseActivity;
import com.hjqjl.whdemo.databinding.ActivityTranslucentThemeBinding;

/**
 * 透明背景的activity
 */
public class TranslucentThemeActivity extends BaseActivity {
    public static void start(Context context) {
        Intent starter = new Intent(context, TranslucentThemeActivity.class);
        context.startActivity(starter);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ActivityTranslucentThemeBinding binding = ActivityTranslucentThemeBinding.inflate(getLayoutInflater());
        setContentView(binding.getRoot());
    }
}